package com.zero.clinic.pojo;

import java.math.BigDecimal;
import java.util.List;

public class Register {
    private Long registerId;

    private String registerName;

    private Long registerType;
    
    private String registerTypeName;

	private BigDecimal money;

    private BigDecimal totalMoney;

    private List<RegisterSub> registerSubs;

    public List<RegisterSub> getRegisterSubs() {
        return registerSubs;
    }

    public void setRegisterSubs(List<RegisterSub> registerSubs) {
        this.registerSubs = registerSubs;
    }

    public String getRegisterTypeName() {
		return registerTypeName;
	}

	public void setRegisterTypeName(String registerTypeName) {
		this.registerTypeName = registerTypeName;
	}

    public Long getRegisterId() {
        return registerId;
    }

    public void setRegisterId(Long registerId) {
        this.registerId = registerId;
    }

    public String getRegisterName() {
        return registerName;
    }

    public void setRegisterName(String registerName) {
        this.registerName = registerName;
    }

    public Long getRegisterType() {
        return registerType;
    }

    public void setRegisterType(Long registerType) {
        this.registerType = registerType;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    @Override
    public String toString() {
        return "Register{" +
                "registerId=" + registerId +
                ", registerName='" + registerName + '\'' +
                ", registerType=" + registerType +
                ", registerTypeName='" + registerTypeName + '\'' +
                ", money=" + money +
                ", totalMoney=" + totalMoney +
                ", registerSubs=" + registerSubs +
                '}';
    }
}